const express = require('express')
const router = express.Router()

//导入用户路由处理函数对应的模块
const collecthander = require('../router_handler/collecthander.js')
// 获取用户消息
router.get('/message',collecthander.getuserMessage)
router.get('/noread/length',collecthander.getuserMessageLength)
router.get('/my',collecthander.getmycollect)
module.exports = router